<template>
  <div class="previewFile"
    style="width: 100%;height: 100%;">
    <rk-pdf-preview ref="pdfPreviewRef"
      :expertFileDownload="false"
      :fileUrl="url">
    </rk-pdf-preview>
  </div>
</template>

<script setup name="previewFile">
import { NextLoading } from '/@/utils/loading';
import { useRoute } from "vue-router";
const route = useRoute()
const url = route.params.id
// 页面加载时
onMounted(() => {
  NextLoading.done();
});
</script>

<style lang="scss" scoped>
</style>